/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.cx1.model.utils;

import java.util.Comparator;
import org.cx1.model.Lead;

/**
 *
 * @author ECH
 */
public class LeadComparator implements Comparator<Lead> {
    
    @Override
    public int compare(Lead o1, Lead o2) {  
        return (o1.getDateCreated().compareTo(o2.getDateCreated())*-1);
    }
    
}
